import { Component } from '@ecs/index'

/** 渲染 */
export class Render extends Component {
  /**
   * @param type 渲染类型
   * @param zindex 渲染层级
   */
  constructor(
    public readonly type: 'image' | 'text',
    public readonly zindex: number = 0
  ) {
    super()
  }
}
